package com.ruoyi.task;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.service.HotelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("EBKTask")
public class EBKTask {

    @Autowired
    HotelService hotelService;

    public void setCurrentHotel() {
        // 刷新酒店,为了让这个会话不过期
        hotelService.setCurrentHotel("24069582");
    }
}
